package com.guigu.pd.aggregation.service.impl;

import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.guigu.common.utils.PageUtils;
import com.guigu.common.utils.Query;

import com.guigu.pd.aggregation.dao.TransportOrderTaskDao;
import com.guigu.pd.aggregation.entity.TransportOrderTaskEntity;
import com.guigu.pd.aggregation.service.TransportOrderTaskService;


@Service("transportOrderTaskService")
public class TransportOrderTaskServiceImpl extends ServiceImpl<TransportOrderTaskDao, TransportOrderTaskEntity> implements TransportOrderTaskService {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        IPage<TransportOrderTaskEntity> page = this.page(
                new Query<TransportOrderTaskEntity>().getPage(params),
                new QueryWrapper<TransportOrderTaskEntity>()
        );

        return new PageUtils(page);
    }

}